package com.woniu.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniu.dao.HousesMapper;
import com.woniu.pojo.Houses;
import com.woniu.service.HousesService;
@Service
@Transactional
public class HousesServiceImpl implements HousesService {
	@Autowired
	private HousesMapper housesMapper;
	@Override
	public Houses selectHousesById(Integer id) {
		// TODO Auto-generated method stub
		Houses houses = housesMapper.selectHousesById(id);
		return houses;
	}
	@Override
	public List<Houses> getAllHouses() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public List<Houses> getAllHouseByCondition(String condition) {
		// TODO Auto-generated method stub
		return null;
	}
	
}
